git-annex.git
15 months agoreleasing package git-annex version 10.20250102
Joey Hess [Thu, 2 Jan 2025 16:32:05 +0000 (12:32 -0400)]
releasing package git-annex version 10.20250102

15 months agoprep for release tomorrow and copyright year update
Joey Hess [Wed, 1 Jan 2025 18:24:57 +0000 (14:24 -0400)]
prep for release tomorrow and copyright year update

15 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 1 Jan 2025 18:17:10 +0000 (14:17 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

15 months agoremove i386ancient and need at least debian stable to build
Joey Hess [Wed, 1 Jan 2025 18:15:55 +0000 (14:15 -0400)]
remove i386ancient and need at least debian stable to build

* Removed the i386ancient standalone tarball build for linux, which
  was increasingly unable to support new git-annex features.
* Removed support for building with ghc older than 9.0.2,
  and with older versions of haskell libraries than are in current Debian
  stable.
* stack.yaml: Update to lts-23.2.

Note that i386ancient was targeting linux 2.6.32, which has been EOL for
over 9 years now. Any old system still using such a kernel is certainly highly
insecure. And I suspect i386ancient had its own insecurities due to haskell
libraries and C libraries not having been updated.

15 months agomove old fixed datalad/dandi/repronim bugs to the project pages
Joey Hess [Wed, 1 Jan 2025 17:12:56 +0000 (13:12 -0400)]
move old fixed datalad/dandi/repronim bugs to the project pages

As done previously in 2023 in commit bcc69f07e81c058eb5d01f4d34c550c49f0631fb

Commands used:

    for f in $(git grep -l '\[\[!tag projects/dandi\]\]'); do if grep -q 'done\]\]' "$f"; then git mv "$f" ../projects/dandi/bugs-done; g=$(echo "$f" | sed 's/.mdwn//'); if [ -d "$g" ]; then git mv "$g" ../projects/dandi/bugs-done; fi; fi; done
    for f in $(git grep -l '\[\[!tag projects/repronim\]\]'); do if grep -q 'done\]\]' "$f"; then git mv "$f" ../projects/repronim/bugs-done; g=$(echo "$f" | sed 's/.mdwn//'); if [ -d "$g" ]; then git mv "$g" ../projects/repronim/bugs-done; fi; fi; done
    for f in $(git grep -l '\[\[!tag projects/datalad\]\]'); do if grep -q 'done\]\]' "$f"; then git mv "$f" ../projects/datalad/bugs-done; g=$(echo "$f" | sed 's/.mdwn//'); if [ -d "$g" ]; then git mv "$g" ../projects/datalad/bugs-done; fi; fi; done

15 months agoremove old closed bugs and todo items to speed up wiki updates and reduce size
Joey Hess [Wed, 1 Jan 2025 17:09:36 +0000 (13:09 -0400)]
remove old closed bugs and todo items to speed up wiki updates and reduce size

Remove closed bugs and todos that were last edited or commented before 2024.

Except for ones tagged projects/* since projects like datalad want to keep
around records of old deleted bugs longer.

Command line used:

for f in $(grep -l '|done\]\]' -- ./*.mdwn); do if ! grep -q "projects/" "$f"; then d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2024 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2024 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; fi; done
for f in $(grep -l '\[\[done\]\]' -- ./*.mdwn); do if ! grep -q "projects/" "$f"; then d="$(echo "$f" | sed 's/.mdwn$//')"; if [ -z "$(git log --since=01-01-2024 --pretty=oneline -- "$f")" -a -z "$(git log --since=01-01-2024 --pretty=oneline -- "$d")" ]; then git rm -- "./$f" ; git rm -rf "./$d"; fi; fi; done

15 months ago(no commit message)
Doable8234 [Tue, 31 Dec 2024 15:08:29 +0000 (15:08 +0000)]

15 months agoAdded a comment: Update: rename in separate commits
psxvoid [Tue, 31 Dec 2024 12:36:02 +0000 (12:36 +0000)]
Added a comment: Update: rename in separate commits

15 months agoAdded a comment: ViFM Plugin Which Partially Solves The Issue
psxvoid [Tue, 31 Dec 2024 06:16:08 +0000 (06:16 +0000)]
Added a comment: ViFM Plugin Which Partially Solves The Issue

15 months agoAdded a comment: Workaround for WSL2 on Windows
psxvoid [Tue, 31 Dec 2024 05:49:31 +0000 (05:49 +0000)]
Added a comment: Workaround for WSL2 on Windows

15 months ago(no commit message)
Spencer [Sun, 29 Dec 2024 09:18:56 +0000 (09:18 +0000)]

15 months ago(no commit message)
Doable8234 [Fri, 27 Dec 2024 05:30:53 +0000 (05:30 +0000)]

15 months agoAdded a comment
aaron [Mon, 23 Dec 2024 16:11:29 +0000 (16:11 +0000)]
Added a comment

16 months ago(no commit message)
guardcat [Fri, 20 Dec 2024 10:22:38 +0000 (10:22 +0000)]

16 months ago(no commit message)
lell [Fri, 20 Dec 2024 09:29:28 +0000 (09:29 +0000)]

16 months ago(no commit message)
lell [Fri, 20 Dec 2024 09:29:10 +0000 (09:29 +0000)]

16 months agoAdded a comment: update 4: union is correct
psxvoid [Fri, 20 Dec 2024 07:27:43 +0000 (07:27 +0000)]
Added a comment: update 4: union is correct

16 months agoAdded a comment: update 3: strange union behavior
psxvoid [Fri, 20 Dec 2024 07:12:59 +0000 (07:12 +0000)]
Added a comment: update 3: strange union behavior

16 months agoAdded a comment: update: unset directory is cool feature, but not always work
psxvoid [Fri, 20 Dec 2024 06:52:57 +0000 (06:52 +0000)]
Added a comment: update: unset directory is cool feature, but not always work

16 months agoAdded a comment: unset directory is cool feature, but not always work
psxvoid [Thu, 19 Dec 2024 17:49:52 +0000 (17:49 +0000)]
Added a comment: unset directory is cool feature, but not always work

16 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Thu, 19 Dec 2024 15:44:32 +0000 (11:44 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

16 months agoannex.addunlocked support for tree imports
Joey Hess [Thu, 19 Dec 2024 15:43:22 +0000 (11:43 -0400)]
annex.addunlocked support for tree imports

Honor annex.addunlocked configuration when importing a tree from a special
remote.

Note, in a --no-content import, the object file will not be populated
(usually) and so expressions that match on mime type will not match. Tested
this and it works ok, the file just ends up locked. Updated docs for the
mime expressions to mention that they can't match when the file is present

Note that in Command.Sync.pullThirdPartyPopulated, recordImportTree is
called without a AddUnlockedMatcher. Since the tree generated here is not
exposed to the user and does not contain usual filenames, there is no need
of the overhead of checking it.

16 months agocomment and close
Joey Hess [Wed, 18 Dec 2024 23:59:15 +0000 (19:59 -0400)]
comment and close

16 months agoclose since --include works
Joey Hess [Wed, 18 Dec 2024 23:44:25 +0000 (19:44 -0400)]
close since --include works

16 months agoAdded a comment: Sync git-annex metadata subset with S3 metadata.
Basile.Pinsard [Wed, 18 Dec 2024 19:35:00 +0000 (19:35 +0000)]
Added a comment: Sync git-annex metadata subset with S3 metadata.

16 months agocomments
Joey Hess [Wed, 18 Dec 2024 19:20:44 +0000 (15:20 -0400)]
comments

16 months agoAdded a comment: thank you!
eugen [Wed, 18 Dec 2024 18:01:04 +0000 (18:01 +0000)]
Added a comment: thank you!

16 months agofix comment display
Joey Hess [Wed, 18 Dec 2024 16:00:44 +0000 (12:00 -0400)]
fix comment display

16 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 17 Dec 2024 19:03:25 +0000 (15:03 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

16 months agoupdate
Joey Hess [Tue, 17 Dec 2024 18:51:25 +0000 (14:51 -0400)]
update

16 months agoAdded a comment
matrss [Mon, 16 Dec 2024 22:48:16 +0000 (22:48 +0000)]
Added a comment

16 months agoAdded a comment
matrss [Mon, 16 Dec 2024 22:19:34 +0000 (22:19 +0000)]
Added a comment

16 months ago(no commit message)
matrss [Mon, 16 Dec 2024 22:02:42 +0000 (22:02 +0000)]

16 months agoAdded a comment
Doable8234 [Mon, 16 Dec 2024 08:24:32 +0000 (08:24 +0000)]
Added a comment

16 months agoAdded a comment
Doable8234 [Mon, 16 Dec 2024 08:20:44 +0000 (08:20 +0000)]
Added a comment

16 months agoAdded a comment
matrss [Sun, 15 Dec 2024 23:39:34 +0000 (23:39 +0000)]
Added a comment

16 months agoAdded a comment
matrss [Sun, 15 Dec 2024 18:13:00 +0000 (18:13 +0000)]
Added a comment

16 months ago(no commit message)
eugen [Sat, 14 Dec 2024 17:48:08 +0000 (17:48 +0000)]

16 months agoAdded a comment
Doable8234 [Sat, 14 Dec 2024 08:15:22 +0000 (08:15 +0000)]
Added a comment

16 months agoAdded a comment
matrss [Fri, 13 Dec 2024 22:02:15 +0000 (22:02 +0000)]
Added a comment

16 months agodocument empty expression
Joey Hess [Fri, 13 Dec 2024 17:31:21 +0000 (13:31 -0400)]
document empty expression

16 months agoempty preferred content
Joey Hess [Fri, 13 Dec 2024 17:26:48 +0000 (13:26 -0400)]
empty preferred content

* Document that settting preferred content to "" is the same as the
  default unset behavior.
* sync: Avoid misleading warning about future preferred content
  transition when preferred content is set to "".

16 months agoAdded a comment
Doable8234 [Fri, 13 Dec 2024 02:04:40 +0000 (02:04 +0000)]
Added a comment

16 months agoresponse
Joey Hess [Thu, 12 Dec 2024 18:29:29 +0000 (14:29 -0400)]
response

16 months agocomment
Joey Hess [Thu, 12 Dec 2024 18:24:57 +0000 (14:24 -0400)]
comment

16 months ago(no commit message)
Doable8234 [Thu, 12 Dec 2024 05:16:49 +0000 (05:16 +0000)]

16 months ago(no commit message)
Doable8234 [Thu, 12 Dec 2024 04:57:37 +0000 (04:57 +0000)]

16 months ago(no commit message)
Doable8234 [Thu, 12 Dec 2024 04:53:22 +0000 (04:53 +0000)]

16 months agoAdded a comment: we use something like that..
vince@56a3a35e623d01b9236e911a9caff71eb367399b [Sun, 8 Dec 2024 20:34:35 +0000 (20:34 +0000)]
Added a comment: we use something like that..

16 months ago(no commit message)
vince@56a3a35e623d01b9236e911a9caff71eb367399b [Sun, 8 Dec 2024 20:26:18 +0000 (20:26 +0000)]

16 months ago(no commit message)
matrss [Sun, 8 Dec 2024 17:28:48 +0000 (17:28 +0000)]

16 months agoAdded a comment
matrss [Sun, 8 Dec 2024 17:27:59 +0000 (17:27 +0000)]
Added a comment

16 months ago(no commit message)
matrss [Sun, 8 Dec 2024 17:20:50 +0000 (17:20 +0000)]

16 months agoclose
Joey Hess [Wed, 4 Dec 2024 17:44:48 +0000 (13:44 -0400)]
close

16 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 4 Dec 2024 17:44:19 +0000 (13:44 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

16 months agocomments
Joey Hess [Tue, 3 Dec 2024 20:33:03 +0000 (16:33 -0400)]
comments

16 months agoAdded a comment
yarikoptic [Tue, 3 Dec 2024 20:26:10 +0000 (20:26 +0000)]
Added a comment

16 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 3 Dec 2024 18:39:30 +0000 (14:39 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

16 months agoannexInsteadOf config
Joey Hess [Tue, 3 Dec 2024 18:01:35 +0000 (14:01 -0400)]
annexInsteadOf config

Added config `url.<base>.annexInsteadOf` corresponding to git's
`url.<base>.pushInsteadOf`, to configure the urls to use for accessing the
git-annex repositories on a server without needing to configure
remote.name.annexUrl in each repository.

While one use case for this would be rewriting urls to use annex+http,
I decided not to add any kind of special case for that. So while
git-annex p2phttp, when serving multiple repositories, needs an url
of eg "annex+http://example.com/git-annex/ for each of them, rewriting an
url like "https://example.com/git/foo/bar" with this config set to
"https://example.com/git/" will result in eg
"annex+http://example.com/git-annex/foo/bar", which p2phttp does not
support.

That seems better dealt with in either git-annex p2phttp or a http
middleware, rather than complicating the config with a special case for
annex+http.

Anyway, there are other use cases for this that don't involve annex+http.

16 months agocomments
Joey Hess [Tue, 3 Dec 2024 17:00:14 +0000 (13:00 -0400)]
comments

16 months agoAdded a comment
iirekm [Tue, 3 Dec 2024 15:43:25 +0000 (15:43 +0000)]
Added a comment

16 months agocomment
Joey Hess [Tue, 3 Dec 2024 15:34:49 +0000 (11:34 -0400)]
comment

16 months ago(no commit message)
iirekm [Tue, 3 Dec 2024 15:28:22 +0000 (15:28 +0000)]

16 months agoAdded a comment: Maybe explanation
david@1439a1cab13195a56248b6a8fd98a62028bcba8a [Mon, 2 Dec 2024 20:25:34 +0000 (20:25 +0000)]
Added a comment: Maybe explanation

16 months agocomment
Joey Hess [Mon, 2 Dec 2024 18:07:43 +0000 (14:07 -0400)]
comment

16 months agocomment typo
Joey Hess [Mon, 2 Dec 2024 18:05:15 +0000 (14:05 -0400)]
comment typo

16 months agodeal with git's CFLR nonsense once again
Joey Hess [Mon, 2 Dec 2024 17:47:51 +0000 (13:47 -0400)]
deal with git's CFLR nonsense once again

Work around git hash-object --stdin-paths's odd stripping of carriage
return from the end of the line (some windows infection), avoiding crashing
when the repo contains a filename ending in a carriage return.

16 months agoadd news item for git-annex 10.20241202
Joey Hess [Mon, 2 Dec 2024 16:36:44 +0000 (12:36 -0400)]
add news item for git-annex 10.20241202

16 months agoreleasing package git-annex version 10.20241202
Joey Hess [Mon, 2 Dec 2024 16:36:24 +0000 (12:36 -0400)]
releasing package git-annex version 10.20241202

16 months agoforgot to add this comment earlier
Joey Hess [Mon, 2 Dec 2024 16:34:08 +0000 (12:34 -0400)]
forgot to add this comment earlier

16 months ago(no commit message)
zoran.bosnjak@683708e9d46ca9d9fa8957bd513e6648cbcbf421 [Sun, 1 Dec 2024 10:37:17 +0000 (10:37 +0000)]

16 months agoAdded a comment: thanks and the followup
psxvoid [Wed, 27 Nov 2024 09:08:32 +0000 (09:08 +0000)]
Added a comment: thanks and the followup

16 months ago(no commit message)
ljc [Wed, 27 Nov 2024 07:31:13 +0000 (07:31 +0000)]

16 months agocomment
Joey Hess [Mon, 25 Nov 2024 16:32:09 +0000 (12:32 -0400)]
comment

16 months agoMerge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 25 Nov 2024 16:16:32 +0000 (12:16 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com

16 months agogit-remote-annex: Fix buggy behavior when annex.stalldetection is configured
Joey Hess [Mon, 25 Nov 2024 16:14:18 +0000 (12:14 -0400)]
git-remote-annex: Fix buggy behavior when annex.stalldetection is configured

Make programPath never return "git-remote-annex" or other known multi-call
program names, which are not git-annex and won't behave like it.
If the git-annex binary gets installed under some entirely other name,
it will still return it.

This change exposed that readProgramFile actually could crash,
which happened before only if getExecutablePath was not absolute
and there was no ~/.config/git-annex/program. So fixed that to catch
exception.

16 months agocomment
Joey Hess [Mon, 25 Nov 2024 15:33:38 +0000 (11:33 -0400)]
comment

16 months agoanalysis
Joey Hess [Mon, 25 Nov 2024 15:31:20 +0000 (11:31 -0400)]
analysis

16 months agoAdded a comment: Overriding git folder
aaron [Mon, 25 Nov 2024 02:55:25 +0000 (02:55 +0000)]
Added a comment: Overriding git folder

16 months agoAdded a comment: re: How to get a list of all NOT unused files
kyle [Mon, 25 Nov 2024 02:23:25 +0000 (02:23 +0000)]
Added a comment: re: How to get a list of all NOT unused files

16 months ago(no commit message)
aaron [Mon, 25 Nov 2024 01:07:20 +0000 (01:07 +0000)]

16 months ago(no commit message)
aaron [Mon, 25 Nov 2024 01:06:54 +0000 (01:06 +0000)]

16 months ago(no commit message)
aaron [Mon, 25 Nov 2024 01:05:32 +0000 (01:05 +0000)]

16 months ago(no commit message)
aaron [Mon, 25 Nov 2024 01:02:53 +0000 (01:02 +0000)]

16 months ago(no commit message)
aaron [Mon, 25 Nov 2024 00:56:41 +0000 (00:56 +0000)]

16 months ago(no commit message)
aaron [Mon, 25 Nov 2024 00:56:17 +0000 (00:56 +0000)]

16 months ago(no commit message)
aaron [Mon, 25 Nov 2024 00:55:07 +0000 (00:55 +0000)]

16 months agoshow remote name when failing
Joey Hess [Thu, 21 Nov 2024 19:55:32 +0000 (15:55 -0400)]
show remote name when failing

to help debug strange git behavior on some daily builds

16 months agomore fixing for building without servant
Joey Hess [Thu, 21 Nov 2024 19:35:06 +0000 (15:35 -0400)]
more fixing for building without servant

16 months agomore fixing for building without servant
Joey Hess [Thu, 21 Nov 2024 19:34:07 +0000 (15:34 -0400)]
more fixing for building without servant

16 months agocomment
Joey Hess [Thu, 21 Nov 2024 19:21:08 +0000 (15:21 -0400)]
comment

16 months agoMerge branch 'p2phttp-multi'
Joey Hess [Thu, 21 Nov 2024 19:16:06 +0000 (15:16 -0400)]
Merge branch 'p2phttp-multi'

16 months agop2phttp: notice when new repositories are added to --directory
Joey Hess [Thu, 21 Nov 2024 19:09:12 +0000 (15:09 -0400)]
p2phttp: notice when new repositories are added to --directory

When a uuid is not known, rescan for new repositories. Easy.

When a repository is removed, it will also get removed from the server
state on the next scan. But until a new uuid is seen, there will not be
a scan. This leaves the server trying to serve a uuid whose repository
is gone. That seems buggy. While getting just fails, dropping fails the
first time, but seems to leave the server in an unusable state, so the
next drop attempt hangs. The server is still able to serve other uuids,
only the one whose repository was removed has that problem.

16 months agoskip over repositories in --directory that do not have annex.uuid set
Joey Hess [Thu, 21 Nov 2024 18:18:18 +0000 (14:18 -0400)]
skip over repositories in --directory that do not have annex.uuid set

16 months agop2phttp support --jobs with --directory
Joey Hess [Thu, 21 Nov 2024 18:15:14 +0000 (14:15 -0400)]
p2phttp support --jobs with --directory

--jobs is usually an Annex option setter, but --directory runs in IO, so
would not have that available. So instead moved the option parser into
the command's Options.

16 months agop2phttp --directory implementation
Joey Hess [Thu, 21 Nov 2024 17:53:23 +0000 (13:53 -0400)]
p2phttp --directory implementation

Untested, but it compiles, so.

Known problems:

* --jobs is not available to startIO
* Does not notice when new repositories are added to a directory.
* Does not notice when repositories are removed from a directory.

16 months agomove the p2phttp server state map into a data type
Joey Hess [Thu, 21 Nov 2024 16:24:14 +0000 (12:24 -0400)]
move the p2phttp server state map into a data type

17 months agofix to build w/o servant
Joey Hess [Wed, 20 Nov 2024 20:29:43 +0000 (16:29 -0400)]
fix to build w/o servant

17 months agofix windows build
Joey Hess [Wed, 20 Nov 2024 19:19:23 +0000 (15:19 -0400)]
fix windows build

17 months agoin test suite display error from git push that fails to exit nonzero
Joey Hess [Wed, 20 Nov 2024 19:12:23 +0000 (15:12 -0400)]
in test suite display error from git push that fails to exit nonzero